.contain {
  height: 100%;
  padding: 10px;
  .menu-tree {
    background-color: rgb(140 189 255 / 4%);
    border: 1px solid rgb(140 189 255 / 30%);
    :deep(.title) {
      color: #ffffff;
    }
    :deep(.el-tree) {
      color: #ffffff;
      background-color: rgb(140 189 255 / 8%);

      --el-tree-node-hover-bg-color: none;
    }
    :deep(.el-tree-node__content) {
      height: 154px !important;
    }
    :deep(.el-tree--highlight-current .el-tree-node.is-current > .el-tree-node__content) {
      background-color: rgb(23 146 194 / 80%) !important;
    }
    :deep(.el-tree-node) {
      padding-right: 0;
      font-size: 16px;
      white-space: normal; // 显示为省略号//不换行
    }
    :deep(.is-leaf) {
      color: rgb(23 146 194);
      visibility: visible;
    }
    :deep(.el-tree-node__children) {
      display: none;
    }
  }
  .btn-primary {
    width: 100px;
    color: #91c7ff;
    background-color: rgb(0 102 255 / 30%);
    border: 0;
    border-color: none;
  }
  .main-flex {
    display: flex;
    flex-wrap: wrap; /* 自动换行 */
    gap: 20px; /* 设置块之间的间距 */
    height: 100%;

    // background-image: radial-gradient(
    //   circle at 50% 0%,
    //   rgb(23 173 255 / 20%) 0%,
    //   rgb(23 173 255 / 20%) 0%,
    //   rgb(40 115 255 / 6%) 99%
    // );
    .item {
      box-sizing: border-box; /* 包括内边距和边框在内的宽度和高度计算 */
      flex: 1 1 100%; /* 每个块占据 50% 的宽度减去间距 */
      width: calc(50% - 20px);
      height: calc(50% - 50px); /* 设置一个固定的高度 */
      padding: 20px;
      text-align: center;
      border: 0 solid #dddddd;
    }
  }

  // 定义变量，方便统一管理颜色
  $select-bg: #ffffff;
  $dropdown-bg: #cedef4;
  $text-color: #16668b;
  $hover-color: rgb(64 158 255 / 10%);
  $selected-color: rgb(64 158 255 / 20%);
  $border-hover: #409eff;
  .select-container {
    position: relative;
    right: 50px;
    display: flex;
    justify-content: flex-end;
    width: 100%;
    .custom-select {
      width: 100px;

      // 输入框样式
      :deep(.el-select__wrapper) {
        background-color: $select-bg;
        border-radius: 4px;
        &:hover {
          border-color: $border-hover;
        }
      }

      // 占位符样式
      :deep(.el-select__placeholder) {
        color: black;
      }

      // 下拉框宽度
      :global(.el-select-dropdown) {
        min-width: 100% !important;
      }

      // 下拉菜单主体样式
      :global(.el-select__popper.el-popper) {
        color: $text-color;
        background: $dropdown-bg !important;
        .el-select-dropdown__item {
          color: $text-color;
          &:hover {
            background-color: $hover-color;
          }
          &.selected {
            background-color: $selected-color;
          }
        }
      }

      // 下拉菜单亮色主题
      :global(.el-popper.is-light) {
        background: $dropdown-bg !important;
        .el-popper__arrow::before {
          background: $dropdown-bg !important;
          border-color: $dropdown-bg !important;
        }
      }

      // 下拉菜单亮色主题
      :global(.el-popper.is-dark) {
        font-size: 20px;

        // background: $dropdown-bg !important;
        // .el-popper__arrow::before {
        //   background: $dropdown-bg !important;
        //   border-color: $dropdown-bg !important;
        // }
      }

      // 选中项样式
      :global(.el-select-dropdown__item.is-selected) {
        color: $text-color;
      }

      // 悬停项样式
      :global(.el-select-dropdown__item.is-hovering) {
        background-color: $hover-color;
      }

      // 箭头样式
      :global(.el-popper__arrow::before) {
        background: $dropdown-bg !important;
        border-color: $dropdown-bg !important;
      }
    }
  }
}
